package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.Students_9Mapper;
import com.ruoyi.system.domain.Students_9;
import com.ruoyi.system.service.IStudents_9Service;

/**
 * 学生表Service业务层处理
 * 
 * @author wyl
 * @date 2025-02-14
 */
@Service
public class Students_9ServiceImpl implements IStudents_9Service 
{
    @Autowired
    private Students_9Mapper students_9Mapper;

    /**
     * 查询学生表
     * 
     * @param studentId 学生表主键
     * @return 学生表
     */
    @Override
    public Students_9 selectStudents_9ByStudentId(Long studentId)
    {
        return students_9Mapper.selectStudents_9ByStudentId(studentId);
    }

    /**
     * 查询学生表列表
     * 
     * @param students_9 学生表
     * @return 学生表
     */
    @Override
    public List<Students_9> selectStudents_9List(Students_9 students_9)
    {
        return students_9Mapper.selectStudents_9List(students_9);
    }

    /**
     * 新增学生表
     * 
     * @param students_9 学生表
     * @return 结果
     */
    @Override
    public int insertStudents_9(Students_9 students_9)
    {
        return students_9Mapper.insertStudents_9(students_9);
    }

    /**
     * 修改学生表
     * 
     * @param students_9 学生表
     * @return 结果
     */
    @Override
    public int updateStudents_9(Students_9 students_9)
    {
        return students_9Mapper.updateStudents_9(students_9);
    }

    /**
     * 批量删除学生表
     * 
     * @param studentIds 需要删除的学生表主键
     * @return 结果
     */
    @Override
    public int deleteStudents_9ByStudentIds(Long[] studentIds)
    {
        return students_9Mapper.deleteStudents_9ByStudentIds(studentIds);
    }

    /**
     * 删除学生表信息
     * 
     * @param studentId 学生表主键
     * @return 结果
     */
    @Override
    public int deleteStudents_9ByStudentId(Long studentId)
    {
        return students_9Mapper.deleteStudents_9ByStudentId(studentId);
    }
}
